<%--
  Created by IntelliJ IDEA.
  User: Jovi
  Date: 2018/3/20
  Time: 下午2:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%
    //实现注销
//session.removeAttribute("username");
    session.invalidate();
    response.sendRedirect("newsDetail.jsp");
%>